<?php

namespace app\api\controller\subject;

use app\api\controller\Controller;
use app\api\model\job\Job as Model;

class Index extends Controller
{
    public function all()
    {
        $model = new Model;
        $list = $model->getAllList($this->request->param());
        return $this->renderSuccess(compact('list'));
    }
}
